﻿
Partial Class _Default
    Inherits System.Web.UI.Page

    Public Function GetPageName() As String

        Dim output = "Default"

        If Not String.IsNullOrEmpty(My.Request.QueryString("page")) Then

            output = My.Request.QueryString("page")

        End If

        Return output

    End Function

    Public Function GetPageContent() As String

        Dim service As New ContentService()

        Return service.GetContent(GetPageName)

    End Function
End Class
